package com.ucode.hrm.mapper;

import com.ucode.model.hrm.HrmPaySlip;
import com.ucode.springboot.starter.mybatis.core.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;

/**
 * 工资条Mapper
 * @Author: liliang
 * @Date: 2025/8/10 12:06
 * @Version: 1.0
 */
@Mapper
public interface HrmPaySlipMapper extends BaseMapper<HrmPaySlip, Long> {

    /**
     * 批量更新可见状态
     * @param ids
     * @param visible
     * @return
     */
    public int updateVisibleByIds(@Param("ids") Collection<Long> ids, @Param("visible") Boolean visible);

}
